package springboot.hello.helloSpringboot.service;

import org.springframework.stereotype.Service;
import springboot.hello.helloSpringboot.dao.DemoDao;

import javax.annotation.Resource;
import java.util.List;

/**
 * Created by lcplcp on 2017/8/21.
 */
@Service
public class ServiceDemo {

    @Resource
    DemoDao demoDao;

    public List queryDemo(){
        return demoDao.queryDemo();
    }

}
